export class ChartColor {
  backgroundColor: 'rgba(148,159,177,0.2)';
  borderColor: 'rgba(148,159,177,1)';
  pointBackgroundColor: 'rgba(148,159,177,1)';
  pointBorderColor: '#fff';
  pointHoverBackgroundColor: '#fff';
  pointHoverBorderColor: 'rgba(148,159,177,0.8)';
}

export const CHART_LABELS: string[] = ['超大单', '大单', '中单', "小单", "小单", '中单', '大单', '超大单'];
export const CHART_COLORS = [{
  // backgroundColor: ["#39DA14", "#14C041", "#09A933", "#068828", "#730009", "#BD0A0A", "#E22622", "#F34A47"],
  backgroundColor: ["#39DA14", "#14C041", "#09A933", "#068828", "#A30101", "#BD0A0A", "#E22622", "#F34A47"],
  borderColor: '#FFFFFF',
  pointBackgroundColor: 'rgba(148,159,177,1)',
  pointBorderColor: '#fff',
  pointHoverBackgroundColor: '#fff',
  pointHoverBorderColor: 'rgba(148,159,177,0.8)'
}];

export const CHART_OPTIONS = {
  legend: {
    display: false
  },
  animation: {
    animateScale: false,
    animateRotate: false
  },
  tooltips: {
    enabled: false,
    intersect: false
  },
  layout: {
    padding: 0
  },
  // cutoutPercentage: 70,
  alwaysLable: true
};